#include "Player.h"

Player::Player()
{
	teamMate = 0;
}

Player::Player(Player * teamMate)
{
	this->teamMate = teamMate;
}

Player::~Player()
{
	if(teamMate != 0)
	{
		teamMate = 0;
	}

	if(team != 0)
		team = 0;
}

void Player::setName(std::string name)
{
	playerName = name;
}

std::string Player::getName()
{
	return playerName;
}

void Player::setTeam(Team * t)
{
	team = t;
}

Team * Player::getTeam()
{
	return team;
}

